/**
 * Class to manage and compare coordinates
 */
public class Coordinates {
	public int x, y;

	public Coordinates(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public int getXCoord() {
		return x;
	}

	public int getYCoord() {
		return y;
	}

	public boolean equals(Coordinates coord) {
		if (x == coord.x && y == coord.y)
			return true;
		return false;
	}
}
